CreativeMail\Managers\CheckoutManager C

Total Complexity 122
Dependencies 14
Dependents 1
Total lines 947
Lines of code 593
Logical lines of code 329
Comment lines 202
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
order_completed_trigger_wc_hook()
B
27
15 153
save_checkout_data()
B
39 18 60
get_cart_data_for_endpoint()
B
35 14 81
recover_products()
A
48 9 34
add_hooks()
S
48 6 30
update_checkout()
S
55 5 19
cleanup_old_checkouts()
S
55 4 20
no_consent_checkout()
S
56 4 17
maybe_capture_guest_checkout()
S
57 4 16
maybe_recover_checkout_email()
S
63 5 9
clear_purchased_data()
S
60 4 14
ce4wp_remote_post()
S
54 3 22
recover_checkout()
S
57 3 17
ce4wp_remote_delete()
S
60 2 15
enqueue_scripts()
S
67 2 7
get_checkout_recovery_date()
S
73 2 4
get_checkout_uuid_by_user()
S
73 2 4
get_opt_out()
S
70 2 6
get_opt_in()
S
71 2 6
save_or_clear_checkout_data()
S
74 2 5
get_opt_in_checkbox_value()
S
71 2 6
get_checkout_contents()
S
68 2 7
add_email_usage_notice_field()
S
64 2 8
add_order_completed_wc_hooks()
S
78 1 3
update_checkout_data()
S
82 1 3
get_opt_action_by()
S
82 1 3
return_to_shop()
S
77 1 4
order_completed()
S
76 1 4
order_processed()
S
80 1 3
ce4wp_filter_checkout_fields()
S
63 1 10
get_checkout_uuid_by_email()
S
78 1 3